#ifndef __SQLSERVERFACTORY_H__
#define __SQLSERVERFACTORY_H__
#include"factory.h"
#include"sqlserverconnection.h"
#include"sqlserverstatement.h"
class SQLServerFactory : public DBFactory
{
public:
	SQLServerFactory() 
	{
	}
	static DBFactory* getInstance()
	{
		static SQLServerFactory sqlServerFactory;
		return &sqlServerFactory;
	}
	unique_ptr<Connection> createConnection()
	{
		return make_unique<SQLServerConnection>();
	}
	unique_ptr<Statement> createStatement()
	{
		return make_unique<SQLServerStatement>();
	}
};
#endif